ContentsIndexHome
PreviousUpNext
IProcedure.run Method (int, params IData[])

Runs the procedure with the provided arguments; this methods blocks further execution until the AIMMS procedure has returned or the timeout expires. In the latter case an AimmsCommunicationException is raised.

C#
int run(int timeout, 
                params IData[] args);
Parameters 
Description 
int timeout 
The amount of time in milliseconds to wait for the procedure to finish. 
params IData[] args 
The arguments to run the procedure with. 

The return value of the AIMMS procedure.

Exceptions 
Description 
It takes longer than the timeout.